{% extends "Common/AdminBase.html" %}
{% load filters %} 
{% block Location %}

<li class="current" ><a href='/AdminMain/Article/Index/'>文章列表</a></li>
<li>/</li>
<li class="current">添加图片新闻</li>


{% endblock %}


{% block content %}

		<link rel="stylesheet" href="/site_media/admin/kindeditor/themes/default/default.css" />
		<script charset="utf-8" src="/site_media/admin/kindeditor/kindeditor-min.js"></script>
		<script charset="utf-8" src="/site_media/admin/kindeditor/lang/zh_CN.js"></script>
<script type='text/javascript' src='/site_media/admin/My97DatePicker/WdatePicker.js'></script>

<div class="contentcontainer">
	
	<form action="#" AjaxForm="/AdminMain/ArticleImg/DoAddImg/" Ajaxverify="$.AjaxFormVerify"    AjaxSuccess="onRefresh">
		<input type="hidden" id="KeyId" name="KeyId" value="{{Model.ContentId}}">
            {% include 'AdminMain/Article/ContentBase.html' %}
               
		
			   
			    <div style="width:100%;float:left">
					<p style="float:left;">
					<input type="submit"  value="发表" class="btn" > 
                    </p>
				</div>
				<div class="status info">
        	<p class="closestatus"><a href="" title="Close">x</a></p>
        	<p><span>提示:</span>图片新闻需要先创建基本信息才能添加图片</p>
        </div>
				<input type="hidden" name="State" id="State" value="3">
	 </form>
</div>
		
<script>
function onRefresh(obj)
{
	$.tips(obj.ErrorTxt);
	window.location="/AdminMain/ArticleImg/Edit/?ContentId="+$("#KeyId").val();
}
</script>  
{% endblock %}

